package com.star.utils;

public class PageQuery {
	public Integer pageSize;
	public Integer pageStar;

	public PageQuery() {
		if (pageSize == null || pageStar == null) {
			pageSize = 10;
			pageStar = 0;
		}
	}

	public PageQuery(Integer pageStar, Integer pageSize) {
		this.pageStar = pageStar;
		this.pageSize = pageSize;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageStar() {
		return pageStar;
	}

	public void setPageStar(Integer pageStar) {
		this.pageStar = pageStar;
	}

}
